4 class BackgroundView: QSBezelBackgroundView {
6 override func draw(_ rect: NSRect) {
7 let boundsRect = bounds
9 let roundRect = NSBezierPath()
10 roundRect.appendRoundedRect(boundsRect, xRadius: 8.0, yRadius: 8.0)
13 let darkMode = effectiveAppearance.name == .darkAqua
15 NSColor(red: 0.1, green: 0.1, blue: 0.1, alpha: 0.99).setFill()
17 NSColor(red: 1, green: 1, blue: 1, alpha: 0.99).setFill()
19 boundsRect.fill(using: .copy)
21 super.draw(boundsRect)